Google\Web_Stories\Renderer\Stories\Renderer B

Total Complexity 83
Dependencies 8
Dependents 2
Total lines 792
Lines of code 360
Logical lines of code 168
Comment lines 264
Methods 27
Properties 12

Methods 27

Method Rating Maintainability Complexity Lines of code
get_view_classes()
A
54 10 19
get_content_overlay()
S
49 6 37
prepare_stories()
S
54 7 19
render_story_with_poster()
S
47 5 44
render_single_story_content()
S
51 5 29
maybe_render_archive_link()
S
56 5 20
get_single_story_classes()
S
61 4 12
get_container_classes()
S
60 4 12
render_stories_lightbox()
S
60 3 16
__construct()
S
63 4 10
get_container_styles()
S
66 4 7
render_link_attributes()
S
60 3 12
generate_amp_lightbox_html_amp()
S
51 1 34
render()
S
63 3 10
add_amp_post_template_css()
S
67 3 7
load_assets()
S
64 3 10
render_stories_with_lightbox()
S
54 1 26
is_view_type()
S
77 2 3
get_view_type()
S
78 2 3
init()
S
71 1 5
rewind()
S
81 1 3
valid()
S
79 1 3
key()
S
82 1 3
next()
S
82 1 3
current()
S
79 1 3
generate_lightbox_html()
S
69 1 7
render_stories_with_lightbox_amp()
S
82 1 3